<?php

namespace App\Enums\Message;

class MessageReadStatusEnum
{

    const UNREAD = ['status' => 0, 'text' => '未读'];
    const READ = ['status' => 1, 'text' => '已读'];

    public static function getStatus($data)
    {
        return $data['status'];
    }

    public static function getText($data)
    {
        return $data['text'];
    }
}
